package com.baomidou.ant.service;

import com.baomidou.ant.entity.Notice;
import com.baomidou.ant.vo.Response.ResponseNoticeVo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jobob
 * @since 2021-03-24
 */
public interface INoticeService extends IService<Notice> {
    //上传公告图片接口
    String upload(MultipartFile file);
    //根据状态查询公告
    List<Notice> querryByStatus(String status);
    //用户界面展示公告
    List<Notice> listOfUser();
}
